<div class="wrapper">
    <div id="buttons">
        <button onClick="saveChart()">Save chart</button>
        <button onClick="clearChart()">Clear chart</button>
        <button onClick="restoreChart()">Restore chart</button>
    </div>
    <div id="myGrid" class="ag-theme-quartz"></div>
    <div id="myChart" class="ag-theme-quartz my-chart"></div>
</div>